#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll n;
int main(void){
    scanf("%lld",&n);
    if(n%2){
        ll a1=(n+1)*n/2;
        printf("%lld\n",a1);
        ll a=4*n-5;
        ll b=n-1;
        int i;
        for(i=2;i<=(n+1)/2;i++){
            a1+=(1+a*b);
            printf("%lld\n",a1);
            a-=8;
            b-=2;
        }
        a=3;
        b=1;
        for(;i<=n;i++){
            a1-=a*b;
            printf("%lld\n",a1);
            a+=8;
            b+=2;
        }
    }else{
        ll a1=(n+1)*n/2;
        printf("%lld\n",a1);
        ll a=4*n-5;
        ll b=n-1;
        int i;
        for(i=2;i<=(n+1)/2;i++){
            a1+=(1+a*b);
            printf("%lld\n",a1);
            a-=8;
            b-=2;
        }
        a1+=4;
        printf("%lld\n",a1);
        a=2;
        b=7;
        i++;
        for(;i<=n;i++){
            a1-=a*b;
            printf("%lld\n",a1);
            a+=2;
            b+=8;
        }
    }
    return 0;
}